package spring.boot.redis.handler;

import lombok.extern.slf4j.Slf4j;
import org.springframework.data.redis.listener.adapter.MessageListenerAdapter;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class TestHandler extends MessageListenerAdapter {

    public static final String CHANNEL = "TEST_CHANNEL";

    public void handleMessage(String message) {
        log.info("================{}", message);
    }

}
